/*
* $Id: ChangeQBParamOperation.h 134 2010-08-26 11:32:19Z volok-aleksej@yandex.ru $
*
* Copyright 2010 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _CHANGE_QB_PARAM_OPERATION_H_
#define _CHANGE_QB_PARAM_OPERATION_H_

#include "../Operation.h"

class CChangeQBParamOperation : public COperation
{
public:
	CChangeQBParamOperation();
	virtual ~CChangeQBParamOperation();
public:
	struct content : public COperation::content{
		content();
		int s_nId;
		int s_nIdFamily;
		int s_nIdParent;
		enum type{
			DEFAULT = 0,
			FAMILY,
			PARENT
		} s_type;
		virtual void Clear();
	}m_content;
public:
	virtual void UpdateValue(IDatabase* pDatabase);
};

#endif/*_CHANGE_QB_PARAM_OPERATION_H_*/